-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Extensive Logging #25005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Add Extensive Logging #25005
Conversation
|
| App Name | WordPress | |
| Configuration | Release-Alpha | |
| Build Number | 30032 | |
| Version | PR #25005 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | b2ed5de | |
| Installation URL | 641fet35j1r70 |
|
| App Name | Jetpack | |
| Configuration | Release-Alpha | |
| Build Number | 30032 | |
| Version | PR #25005 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | b2ed5de | |
| Installation URL | 0t53p0usoj5jg |
|
Version |
540bef8 to
942aeec
Compare
|
Renamed it to "Developer Tools" |
WordPress/WordPress.xcodeproj/xcshareddata/xcschemes/Jetpack.xcscheme
Outdated
Show resolved
Hide resolved
| .font(.system(size: 20)) | ||
| .foregroundColor(.secondary) | ||
| .symbolEffect(.bounce.up, value: tapCount) | ||
| .onTapGesture { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does onTapGesture(count: 5) { isDeveloperModeEnabled = true } work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to change it and try it.
I generated all the original code.
|
If I understand correctly, with the changes in this PR, the app now always uses Pulse to log HTTP requests and responses, and the feature toggle controls whether the user can see those logs. Considering 99% of the users won't turn on the feature toggle and view the logs, to avoid running code and taking up the app's memory for nothing, should we change the model to only log HTTP requests when the feature toggle is on? |
There is a significant impact on performance and app on-disk see. If has to be a debug-only feature. |
We should only enable this for development environments.
|





Description